#define _CRT_SECURE_NO_WARNINGS
#include "1.20_hs.h"
int cmp_age(const void* e1, const void* e2)
{
	return ((struct emp*)e1)->age - ((struct emp*)e2)->age;
}

void Print_sz(struct emp* p, int n)
{
	for (int i = 0; i < n; i++)
		printf("%s %d\n", p[i].name, p[i].age);
}

int cmp_name(const void* e1, const void* e2)
{
	return strcmp(((struct emp*)e2)->name, ((struct emp*)e1)->name);
}